package file;

import java.io.FileOutputStream;
import java.nio.charset.StandardCharsets;

/**
 * @author hujian
 * @date 2021/5/27 13:48
 * @description
 */
public class FileTest {

    public static void main(String[] args) throws Exception {
        String filePath = "D://ceshi.txt";
        FileOutputStream fos1 = new FileOutputStream(filePath);
        for (int i = 1; i < 10; i++) {
            fos1.write("8888\n".getBytes(StandardCharsets.UTF_8));
        }

    }

}
